package com.zhucan.account.application.command.cmd;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

/**
 * author: zhuCan
 * date: 2020/8/4 20:20
 * description:
 */
@Data
@ApiModel("开户命令模型")
public class AccountCreateCommand {

  @ApiModelProperty("身份证")
  @NotBlank
  @Size(max = 20)
  private String identityCard;

  @ApiModelProperty("客户名")
  @NotBlank
  @Size(max = 15)
  private String customerName;

  @ApiModelProperty("账号")
  @NotBlank
  @Size(max = 15)
  private String account;

  @ApiModelProperty("电话")
  private String cellphone;

  @ApiModelProperty("地址")
  private String address;

  @ApiModelProperty("工作")
  private String job;

}
